$OpenBSD: patch-Widgets_AxeEditor_c,v 1.1 2016/03/16 18:36:37 naddy Exp $
--- Widgets/AxeEditor.c.orig	Fri Jun 17 17:45:44 1994
+++ Widgets/AxeEditor.c	Wed Mar 16 19:05:45 2016
@@ -49,13 +49,13 @@
 #include <FileNom.h>
 #include <sys/param.h>
 #include <sys/stat.h>
-#include <sys/errno.h>
+#include <errno.h>
 #include <signal.h>
-extern int errno;
 #ifndef __BSD_4_4__
 extern char *sys_errlist[];
 #endif
 #include <stdio.h>
+#include <stdlib.h>
 
 #ifdef EXTENSION
 #include "Language.h"
